Skip to contentSkip to conversation

Long running application causes assert in amdgpu_bo.c 'bo->cpu_map_count > 0' failed

Bug 111332 [email protected] 1 participant 4 messages Aug 8, 2019 – Sep 25, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=111332

Bug ID: 111332
Summary: Long running application causes assert in amdgpu_bo.c
'bo->cpu_map_count > 0' failed
Product: DRI
Version: XOrg git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

We have an OpenGL application that runs 24/7. After 4-5 days the application quits with this error in the syslog.

../amdgpu/amdgpu_bo.c:443: amdgpu_bo_cpu_map: Assertion `bo->cpu_map_count > 0' failed.

The system is running
Debian 10 buster (kernel 4.19.0)
libdrm 2.4.99 built from source (gitlab.freedesktop.org)

There seems to be a patch to fix this problem here
https://patchwork.freedesktop.org/patch/258005/

But there has been no activity on this patch in a while and it has not been merged.

I will start a test of this patch and will verify if it works for me, but it will take 5 days to confirm.

Any chance of getting this patch merged?

Thanks,
Todd

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=111332

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|DRM/AMDgpu                  |Drivers/Gallium/radeonsi
            Product|DRI                         |Mesa
            Version|XOrg git                    |git
         QA Contact|                            |[email protected]
                   |                            |.org

--- Comment #1 from Michel Dänzer <[email protected]> --- (In reply to Todd from comment #0)

Quoted 2 lines

There seems to be a patch to fix this problem here
https://patchwork.freedesktop.org/patch/258005/

As discussed there, this is a Mesa issue and should be addressed there.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111332

--- Comment #2 from Todd <[email protected]> --- I can't comment on where the fix should be, but

1. This does not happen on a radeon based system

2. With the patch applied to the amdgpu code the application has been running for over 7 days now with no issues.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111332

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #3 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1423.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel